﻿<UserControl x:Class="Vtron.LEDCorrective.UserControls.CIEUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="600">
    <Grid x:Name="grid1" Background="Beige">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
            <TextBlock Text="CIE1931标准空间" Margin="5,0,5,5" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </StackPanel>
        <Canvas x:Name="canvas" HorizontalAlignment="Left" Height="530" Width="530" VerticalAlignment="Top"  Margin="5" 
                Grid.Row="1" MouseDown="canvas_MouseDown" MouseMove="canvas_MouseMove" MouseUp="canvas_MouseUp" MouseLeave="canvas_MouseLeave" MouseEnter="canvas_MouseEnter">
            <Image x:Name="imageCIE" Source="../Images/CIE_DISPLAY.bmp" Stretch="Uniform"  Margin="5,5,5,5" VerticalAlignment="Center"
                   HorizontalAlignment="Center" Cursor="Cross"/>
            <TextBlock x:Name="txtbok" HorizontalAlignment="Left" Margin="423,170,0,0" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Top"/>
        </Canvas>
    </Grid>
</UserControl>
